package com.fortune.dto.in.cPriceMgt;

import com.fortune.constants.enums.ProduceType;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * TODO c_product_wholesale_price
 * @author ran
 *
 */
public class CWholePriceEditDto {
    @NotBlank(message="商品ID不能为空")
    @ApiModelProperty(example="商品ID")
    private String produceId;
    @NotNull(message="商品批发价不能为空")
    @ApiModelProperty(example="商品批发价")
    private BigDecimal price;

    private String mName;
    private String mid;

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getProduceId() {
        return produceId;
    }

    public void setProduceId(String produceId) {
        this.produceId = produceId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "CWholePriceEditDto{" +
                "produceId='" + produceId + '\'' +
                ", price=" + price +
                '}';
    }
}
